<?php

namespace Gds\VenteBundle\Form;

use Symfony\Component\Form\AbstractType;
use Symfony\Component\Form\FormBuilderInterface;
use Symfony\Component\OptionsResolver\OptionsResolverInterface;
use Gds\VenteBundle\Form\LigneBonLivraisonRetourClientType;
class LigneBonLivraisonRetourClientType extends AbstractType {

    public function buildForm(FormBuilderInterface $builder, array $options) {
        $builder
                ->add('quantite_blanc')
                ->add('quantite_noir')
                ->add('prix_unitaire_ht')
                ->add('taux_remise')
                ->add('taux_tva')
                ->add('bon_livraison_retour')
                ->add('article')
        ;
    }

    public function setDefaultOptions(OptionsResolverInterface $resolver) {
        $resolver->setDefaults(array(
            'data_class' => 'Gds\VenteBundle\Entity\LigneBonLivraisonRetourClient'
        ));
    }

    public function getName() {
        return 'gds_ventebundle_lignebonlivraisonretourclienttype';
    }

}
